<template>
  <div>
    <van-tabs v-model:active="active" @click-tab="onClickTab">
  <van-tab title="行测刷题"><admin></admin></van-tab>
  <van-tab title="申论真题">内容 2</van-tab>
</van-tabs>
  </div>
</template>

<script setup lang="ts">
    import { ref } from 'vue';
import { showToast } from 'vant';
import admin from './admin/admin.vue'

    const active = ref(0);
    const onClickTab = ({ title }) => showToast(title);

</script>

<style scoped>
</style>
